package com.ccys.db.dto.doctor.doctorConsultStage;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @program: WhiteCoat
 * @description: 更新处方接收Dto
 * @author: ZhangJingCan
 * @create: 2024-02-26 16:09
 **/

@Data
public class UpdatePrescriptionDto {

    private Integer status;//": 1,
    private List<Prescription> prescriptions;//":
    //todo 这个字段不明确，这个接口对方传入空集合
    private List<String> package_prescriptions;//": [],
    private String booking_id;//": "8C6F1EEB-B6B2-4081-BB72-9CDD593020FD",
    private Boolean add_medication;//": false

    @Data
    public class Prescription{

         private String id;//": "CA0F9468-DF24-465B-97DA-C2B36A2551B2",
         private Integer dosage;//": 0,
         private String dosage_text;//": "DOSAGE",
         private BigDecimal quantity;//": 5.0,
         private Integer refill;//": 0,
         private String refill_expiry_date;//": "1999/01/01",
         private String patient_instruction;//": "patient_instruction",
         private String pharmacist_instruction;//": "pharmacist_instruction",
         private String frequency;//": "",
         private String what_is_for;//": "aaaaaaaaaaaaa",
         private String causes_drowsiness;//": "false",
         private String any_precautions;//": "Use as directed",
         private Integer duration;//": null,
         private Integer duration_unit;//": 1,
         private Integer uom_quantity;//": null,
         private Boolean prn;//": false,
         private String prn_reason;//": "",
         private Integer unit;//": null,
         private Boolean is_package;//": false,
         private String package_id;//": null,
         private String step_dose;//": "",
         private Boolean take_complete_course;//": false,
         private String remark;//": "kijhgf",
         private String product_id;//": null,
         private String product_name;//": null,
         private BigDecimal product_price;//": 0.0,
         private Integer index_order;//": 1,
         private Boolean is_covered_diagnosis;//": false,
         private Boolean remind_patient_to_call_back;//": false

    }


}
